/**
 * Filename: YNNewsInvite.java
 * @author  Firefly
 * @contact postfirefly@163.com
 * @time    2016/3/4 11:53
 */
package com.github.postsanf.yinian.bean;
/**
 * 忆年消息邀请实体类
 */
public class YNNewsInvite extends BaseBean
{

    private int     igid;											    // ID
    private int     type;												// 类型(暂时备用)
    private String  upic;											    // 头像
    private String  igtime;										        // 时间
    private String  unickname;									        // 用户昵称
    private String  igcontent;									        // 内容
    private int     iggroupid;									        // 邀请进组id
    private int     igstatus;										    // 邀请状态

    public int getIgid() {
        return igid;
    }

    public void setIgid(int igid) {
        this.igid = igid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUpic() {
        return upic;
    }

    public void setUpic(String upic) {
        this.upic = upic;
    }

    public String getIgtime() {
        return igtime;
    }

    public void setIgtime(String igtime) {
        this.igtime = igtime;
    }

    public String getUnickname() {
        return unickname;
    }

    public void setUnickname(String unickname) {
        this.unickname = unickname;
    }

    public String getIgcontent() {
        return igcontent;
    }

    public void setIgcontent(String igcontent) {
        this.igcontent = igcontent;
    }

    public int getIggroupid() {
        return iggroupid;
    }

    public void setIggroupid(int iggroupid) {
        this.iggroupid = iggroupid;
    }

    public int getIgstatus() {
        return igstatus;
    }

    public void setIgstatus(int igstatus) {
        this.igstatus = igstatus;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNNewsInvite) {
            return this.igid == ((YNNewsInvite) o).igid;
        }
        return super.equals(o);
    }
}
